﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MyMaster.Master" AutoEventWireup="true"
    CodeBehind="Test.aspx.cs" Inherits="FashionMural.Admin.Test" %>

<asp:Content ID="Content1" ContentPlaceHolderID="LeftMenu" runat="server">
    <asp:TreeView ID="TreeView1" runat="server" ShowLines="false">
        <LevelStyles>
            <asp:TreeNodeStyle CssClass="firstNodeStyle" Height="25" Width="170" />
            <asp:TreeNodeStyle CssClass="secondNodeStyle" Height="25" Width="170" />
        </LevelStyles>
    </asp:TreeView>
    <script type="text/javascript">
        $().ready(function () {
            DynamicBuildPageTreeView("pageTreeDiv");

            var dyflag = true;
            $("div.leftMenuTitle").click(function () {
                if (dyflag) {
                    $(this).next(".leftMenu").hide();
                    dyflag = false;
                } else {
                    $(this).next(".leftMenu").show();
                    dyflag = true;
                }
            });
        });
    </script>
    <div id="pageTreeDiv">
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MidContent" runat="server">
    <script type="text/javascript" src="Xheditor/xheditor-1.1.13-zh-cn.min.js"></script>
    <script type="text/javascript">

        function GetContent() {
            var a = $("#textareacontent").xheditor();
            var aa = a.getSource();
        }

        $().ready(function () {
            //eheditor
            $("#textareacontent").xheditor({
                width: 770,
                height: 400
            });
        });
    </script>
    <table class="mainTable" id="siglephototext">
        <tr>
            <td>
            </td>
        </tr>
        <tr style="background-color: #D7D7D7;">
            <th colspan="1">
                单页图文
            </th>
        </tr>
        <tr>
            <td>
                <textarea id="textareacontent" name="singleeditcontent" rows="0"></textarea>
            </td>
        </tr>
        <tr>
            <td>
                <input id="sigleedit" type="button" style="background-color: #D7D7D7; border: 1px solid Balck;
                    cursor: pointer;" value="编辑" />
                <input id="siglesave" type="button" style="background-color: #D7D7D7; border: 1px solid Balck;
                    cursor: pointer;" value="保存" onclick="GetContent()" />
                <input id="singlecancel" type="button" style="background-color: #D7D7D7; border: 1px solid Balck;
                    cursor: pointer;" value="取消" />
                <label id="editlabel" pid="" onclick="labelButtonShowOne()" style="background-color: #D7D7D7;
                    width: 20px; height: 10px; border: 1px solid Balck; margin-right: 2px; cursor: pointer;">
                    编辑</label>
                <label id="deletepageinfo" pid="" onclick="deletePage()" style="background-color: #D7D7D7;
                    width: 20px; height: 10px; border: 1px solid Balck; cursor: pointer;">
                    删除</label>
                <label id="undolabel" pid="" onclick="labelButtonShowTwo()" style="background-color: #D7D7D7;
                    width: 20px; height: 10px; border: 1px solid Balck; cursor: pointer; display: none;">
                    取消</label>
                <label id="updatepageinfo" pid="" style="background-color: #D7D7D7; width: 20px;
                    height: 10px; border: 1px solid Balck; margin-right: 2px; cursor: pointer; display: none;">
                    更新</label>
                <input type="checkbox" id='11111' value="" class='btn' />
                <label id="1" style="text-decoration: underline; font-size: 8px; color: Red">
                </label>
            </td>
        </tr>
    </table>
</asp:Content>
